<{include file="../modules/header.html" title='商品リスト - '}>
<script type="text/javascript">
	jQuery(function($){$('#Image3').attr('src','images/menu_over_03.png')});
</script>
<{function name=cateLabel cateId=0}>
	<{foreach $cate_listview as $entry}>
		<{if $cateId == $entry.cateId}>
			<strong class="color3"><{$entry.name}></strong>
		<{/if}>
	<{/foreach}>
<{/function}>
<div id="main">
	<h2><img src="images/midashi_cotegory.png" alt="" width="546" height="29" /></h2>
	<p><strong class="color2"><a href="products.php">すべて</a>
	<{foreach $cate_listview as $entry}>
		 | <a href="products.php?cate=<{$entry.cateId}><{if $entry.cateId == 52}>,58<{/if}>"><{$entry.name}></a>
	<{/foreach}></strong>
	</p>
	<h2><img src="images/midashi_prodlist.png" alt="" width="546" height="29" /></h2>
	<{$cateCount = 0}>
	<{$thisId = 0}>
	<{foreach $prod_listview as $entry}>
		<p>
		<{if $cateCount == 0}>
			<{$cateCount = $entry.cateId}>
			<{cateLabel cateId=$cateCount}>
		<{else}>
			<{if $cateCount ne $entry.cateId}>
				<{$cateCount = $entry.cateId}>
				<{cateLabel cateId=$cateCount}>
			<{/if}>
		<{/if}>
			<table class="prodlist">
				<tr>
					<td colspan="4"><b><{$entry.title}></b><img src="images/picon_0<{$entry.icon}>.png"></td>
				</tr>
			    <tr>
			        <td rowspan="4" class="prodimgtd">
			    		<a href="getproduct.php?id=<{$entry.hsellId}>&pid=<{$entry.prodId}>"><img src="/cs2/images/upload/100/<{$entry.fileId}>.jpg" /></a></td>
			        <td>商&nbsp;品&nbsp;名：</td>
			       	<td><{$entry.name}> </td>
					<td align="center" style="background-color: #eee;"><a href="getproduct.php?id=<{$entry.hsellId}>&pid=<{$entry.prodId}>">商品ページ</a> </td>
			     </tr>
			     <tr>
			     	<td>型&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;番:</td>
			        <td>[<{$entry.model}>]</td>
			         <td align="center">
			         	 個数：
			         	 <select id="form_num_<{$entry.hsellId}>">
		         	 	<{section name=foo start=1 loop=$entry.num+1 step=1}>
						  <option value="<{$smarty.section.foo.index}>"><{$smarty.section.foo.index}></option>
						<{/section}>
			         	 </select>
			        	</td>
			     </tr>
			     <tr>
					<td>サイズ , 重さ：</td>
					<td><{$entry.size_l}>*<{$entry.size_w}>*<{$entry.size_h}>(cm) , <{$entry.weight}> Kg</td>
					<td  align="center">	
						<div class="jClink_l"> 
							<div class="jClink_r"> 
								<div class="jClink_c">
									<a onclick="setOrderInfo(<{$entry.hsellId}>)">直接注文</a>
								</div> 
							</div> 
						</div>
					</td>
			     </tr>
			     	 <tr>
					<td>販売価格：</td>
					<td colspan="2">特別価格：<strong class="sprice typeMoney"><{$entry.sprice}></strong>円/通常価格
									<strong class="price typeMoney"><{$entry.price}></strong>円</td>
			     </tr>
			    <{* <tr>
					<td>お得情報：</td>
					<td colspan="3" class="iconinfo"><span style="color:#ff0000"><{$entry.iconinfo}></span></td>
			     </tr>
			     *}>
			</table>
		</p>
	<{/foreach}>
	<{include file='../modules/pagetag.html' _path='products.php' _page=$page _qs=$qs _pagearr=$pagearr _pagecount=$pagecount _db_len=$len}>
</div>
<{include file="../modules/sitebar.html" subbar="subitem1.html"}>
<!--/sub-->
<{include file="../modules/footer.html"}>